var Http = require('wy-Http');
module.exports = {
    erros:{},
    upload(key,error){
        if(this.erros[key]){
            return;
        }
        this.erros[key] = error;
        console.error('Errorlog upload: key'+key+',error:'+error)
        Http.get('/game/gameUser','error.add',{key:key,error:error},function(){

        })
    }
}